use my_commons::*;

pub fn type_test() {
    let sum = 5 + 10;
    println!("sum: 5+10 => {sum}");

    let difference = 95.5 - 4.3;
    println!("difference: 95.5 - 4.3 => {difference}");

    let product = 4 * 30;
    println!("product: 4 * 30=> {product}");

    let quotient = 10 / 3;
    println!("quotient: 10 / 3 => {quotient}");

    let remainder = 10 % 3;
    println!("remainder: 10 % 3 => {remainder}");

    my_sep();
    let quotient = 10 / -3;
    println!("quotient: 10 / -3 => {quotient}");

    let remainder = 10 % -3;
    println!("remainder: 10 % -3 => {remainder}");

    my_sep();
    let quotient = -10 / 3;
    println!("quotient: -10 / 3 => {quotient}");

    let remainder = -10 % 3;
    println!("remainder: -10 % 3 => {remainder}");

    my_sep();
    let quotient = 56.7 / 32.2;
    println!("quotient: 56.7 / 32.2 => {quotient}");

    let remainder = 56.7 % 32.2;
    println!("remainder: 56.7 / 32.2 => {remainder}");
}
